'use strict';

Object.defineProperty(exports, '__esModule', {
  value: true,
});
exports.useSchemaFormContext = exports.SchemaFormProvider = void 0;
var _react = require('react');
var SchemaFormContext = /*#__PURE__*/ (0, _react.createContext)({});
var SchemaFormProvider = SchemaFormContext.Provider;
exports.SchemaFormProvider = SchemaFormProvider;
var useSchemaFormContext = function useSchemaFormContext() {
  return (0, _react.useContext)(SchemaFormContext);
};
exports.useSchemaFormContext = useSchemaFormContext;
